<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns the MaxDB client version as a string</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.maxdb-free-result.html">maxdb_free_result</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-get-client-version.html">maxdb_get_client_version</a></div>
 <div class="up"><a href="ref.maxdb.html">MaxDB 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.maxdb-get-client-info" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">maxdb_get_client_info</h1>
  <p class="verinfo">(PECL maxdb &gt;= 1.0)</p><p class="refpurpose"><span class="refname">maxdb_get_client_info</span> &mdash; <span class="dc-title">Returns the MaxDB client version as a string</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.maxdb-get-client-info-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>maxdb_get_client_info</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   The <span class="function"><strong>maxdb_get_client_info()</strong></span> function is used to
   return a string representing the client version being used in the
   MaxDB extension.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.maxdb-get-client-info-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   A string that represents the MaxDB client library version
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.maxdb-get-client-info-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   <div class="example" id="example-1249">
    <p><strong>Example #1 maxdb_get_client_info</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br /></span><span style="color: #FF8000">/*&nbsp;We&nbsp;don't&nbsp;need&nbsp;a&nbsp;connection&nbsp;to&nbsp;determine<br />&nbsp;&nbsp;&nbsp;the&nbsp;version&nbsp;of&nbsp;MaxDB&nbsp;client&nbsp;library&nbsp;*/<br /><br /></span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"Client&nbsp;library&nbsp;version:&nbsp;%s\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">maxdb_get_client_info</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

   </div>
  </p>
  <p class="para">以上例程的输出类似于：</p>
  <div class="example-contents screen">
<div class="cdata"><pre>
Client library version: libSQLDBC &lt;...&gt;
</pre></div>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.maxdb-get-client-info-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.maxdb-get-client-version.html" class="function" rel="rdfs-seeAlso">maxdb_get_client_version()</a> - Get MaxDB client info</span></li>
    <li class="member"><span class="function"><a href="function.maxdb-get-server-info.html" class="function" rel="rdfs-seeAlso">maxdb_get_server_info()</a> - Returns the version of the MaxDB server</span></li>
    <li class="member"><span class="function"><a href="function.maxdb-get-server-version.html" class="function" rel="rdfs-seeAlso">maxdb_get_server_version()</a> - Returns the version of the MaxDB server as an integer</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.maxdb-free-result.html">maxdb_free_result</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.maxdb-get-client-version.html">maxdb_get_client_version</a></div>
 <div class="up"><a href="ref.maxdb.html">MaxDB 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
